package part
{
	import com.adobe.serialization.json.JSON;
	
	import mx.collections.ArrayCollection;
	import mx.controls.Alert;

	public class JsonTest
	{
		public function JsonTest()
		{
		}
	
		public function json2ArrayCollection():ArrayCollection{
			var str:String ="[{'d0':'value d 0','b0':'value b 0','a0':'value a 0','c0':'value c 0'},{'d1':'value d 1','c1':'value c 1','b1':'value b 1','a1':'value a 1'},{'d2':'value d 2','c2':'value c 2','b2':'value b 2','a2':'value a 2'},{'d3':'value d 3','b3':'value b 3','a3':'value a 3','c3':'value c 3'},{'c4':'value c 4','b4':'value b 4','a4':'value a 4','d4':'value d 4'},{'c5':'value c 5','b5':'value b 5','d5':'value d 5','a5':'value a 5'},{'c6':'value c 6','b6':'value b 6','a6':'value a 6','d6':'value d 6'},{'b7':'value b 7','d7':'value d 7','a7':'value a 7','c7':'value c 7'},{'d8':'value d 8','c8':'value c 8','b8':'value b 8','a8':'value a 8'},{'a9':'value a 9','d9':'value d 9','c9':'value c 9','b9':'value b 9'}]";
			var result:ArrayCollection = com.adobe.serialization.json.JSON.decode(str);
			
			return result;
		}
		
		
	}
	
}